home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 1 / MacMania 1.toast / Educational / Sciences / Gas Laws / background_2723.txt < prev    next >
Text File  |  1990-06-19  |  7KB  |  358 lines

  1. -- background: 2723 from stack: in
  2. -- bmap block id: 3085
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (field)
  9. -- low flags: 80
  10. -- high flags: 0000
  11. -- rect: left=76 top=298 right=316 bottom=100
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 0
  15. -- font id: 3
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: ans
  20.  
  21.  
  22. -- part 2 (field)
  23. -- low flags: 00
  24. -- high flags: 0000
  25. -- rect: left=26 top=69 right=135 bottom=481
  26. -- title width / last selected line: 0
  27. -- icon id / first selected line: 0 / 0
  28. -- text alignment: 0
  29. -- font id: 2
  30. -- text size: 24
  31. -- style flags: 0
  32. -- line height: 32
  33. -- part name: Q
  34.  
  35.  
  36. -- part 3 (field)
  37. -- low flags: 00
  38. -- high flags: 0000
  39. -- rect: left=82 top=150 right=176 bottom=489
  40. -- title width / last selected line: 0
  41. -- icon id / first selected line: 0 / 0
  42. -- text alignment: 0
  43. -- font id: 2
  44. -- text size: 18
  45. -- style flags: 0
  46. -- line height: 24
  47. -- part name: 1
  48. ----- HyperTalk script -----
  49. on mouseup
  50.   global response
  51.   global tries
  52.   put 1 into response
  53.   add 1 to tries
  54.   put tries into background field "try"
  55.   check
  56. end mouseup
  57.  
  58.  
  59.  
  60. -- part 4 (field)
  61. -- low flags: 00
  62. -- high flags: 0000
  63. -- rect: left=83 top=184 right=210 bottom=490
  64. -- title width / last selected line: 0
  65. -- icon id / first selected line: 0 / 0
  66. -- text alignment: 0
  67. -- font id: 2
  68. -- text size: 18
  69. -- style flags: 0
  70. -- line height: 24
  71. -- part name: 2
  72. ----- HyperTalk script -----
  73. on mouseup
  74.   global response
  75.   put 2 into response
  76.   check
  77. end mouseup
  78.  
  79.  
  80.  
  81. -- part 5 (field)
  82. -- low flags: 00
  83. -- high flags: 0000
  84. -- rect: left=83 top=217 right=243 bottom=492
  85. -- title width / last selected line: 0
  86. -- icon id / first selected line: 0 / 0
  87. -- text alignment: 0
  88. -- font id: 2
  89. -- text size: 18
  90. -- style flags: 0
  91. -- line height: 24
  92. -- part name: 3
  93. ----- HyperTalk script -----
  94. on mouseup
  95.   global response
  96.   put 2 into response
  97.   check
  98. end mouseup
  99.  
  100.  
  101.  
  102. -- part 6 (field)
  103. -- low flags: 00
  104. -- high flags: 0000
  105. -- rect: left=83 top=252 right=278 bottom=492
  106. -- title width / last selected line: 0
  107. -- icon id / first selected line: 0 / 0
  108. -- text alignment: 0
  109. -- font id: 2
  110. -- text size: 18
  111. -- style flags: 0
  112. -- line height: 24
  113. -- part name: 4
  114. ----- HyperTalk script -----
  115. on mouseup
  116.   global response
  117.   put 2 into response
  118.   check
  119. end mouseup
  120.  
  121.  
  122.  
  123. -- part 7 (button)
  124. -- low flags: 00
  125. -- high flags: 0006
  126. -- rect: left=56 top=150 right=174 bottom=174
  127. -- title width / last selected line: 0
  128. -- icon id / first selected line: 0 / 0
  129. -- text alignment: 1
  130. -- font id: 0
  131. -- text size: 12
  132. -- style flags: 0
  133. -- line height: 16
  134. -- part name: b1
  135. ----- HyperTalk script -----
  136. on mouseUp
  137.   global response
  138.   global tries
  139.   global lastClick
  140.  
  141.   if the seconds - lastClick < 4 then exit mouseup
  142.   else put the seconds into lastClick
  143.   put 1 into response
  144.   add 1 to tries
  145.   put tries into background field "try"
  146.   check
  147. end mouseUp
  148.  
  149.  
  150.  
  151. -- part 8 (button)
  152. -- low flags: 00
  153. -- high flags: 0006
  154. -- rect: left=56 top=185 right=208 bottom=175
  155. -- title width / last selected line: 0
  156. -- icon id / first selected line: 0 / 0
  157. -- text alignment: 1
  158. -- font id: 0
  159. -- text size: 12
  160. -- style flags: 0
  161. -- line height: 16
  162. -- part name: b2
  163. ----- HyperTalk script -----
  164. on mouseUp
  165.   global response
  166.   global tries
  167.   global lastClick
  168.  
  169.   if the seconds - lastClick < 4 then exit mouseup
  170.   else put the seconds into lastClick
  171.   put 2 into response
  172.   add 1 to tries
  173.   put tries into background field "try"
  174.   check
  175. end mouseUp
  176.  
  177.  
  178.  
  179. -- part 11 (button)
  180. -- low flags: 00
  181. -- high flags: 0006
  182. -- rect: left=58 top=218 right=241 bottom=174
  183. -- title width / last selected line: 0
  184. -- icon id / first selected line: 0 / 0
  185. -- text alignment: 1
  186. -- font id: 0
  187. -- text size: 12
  188. -- style flags: 0
  189. -- line height: 16
  190. -- part name: b3
  191. ----- HyperTalk script -----
  192. on mouseUp
  193.   global response
  194.   global tries
  195.   global lastClick
  196.  
  197.   if the seconds - lastClick < 4 then exit mouseup
  198.   else put the seconds into lastClick
  199.   put 3 into response
  200.   add 1 to tries
  201.   put tries into background field "try"
  202.   check
  203. end mouseUp
  204.  
  205.  
  206.  
  207. -- part 12 (button)
  208. -- low flags: 00
  209. -- high flags: 0006
  210. -- rect: left=59 top=253 right=276 bottom=175
  211. -- title width / last selected line: 0
  212. -- icon id / first selected line: 0 / 0
  213. -- text alignment: 1
  214. -- font id: 0
  215. -- text size: 12
  216. -- style flags: 0
  217. -- line height: 16
  218. -- part name: b4
  219. ----- HyperTalk script -----
  220. on mouseUp
  221.   global response
  222.   global tries
  223.   global lastClick
  224.  
  225.   if the seconds - lastClick < 4 then exit mouseup
  226.   else put the seconds into lastClick
  227.   put 4 into response
  228.   add 1 to tries
  229.   put tries into background field "try"
  230.   check
  231. end mouseUp
  232.  
  233.  
  234.  
  235. -- part 13 (button)
  236. -- low flags: 00
  237. -- high flags: 0000
  238. -- rect: left=403 top=294 right=326 bottom=456
  239. -- title width / last selected line: 0
  240. -- icon id / first selected line: 1014 / 1014
  241. -- text alignment: 1
  242. -- font id: 0
  243. -- text size: 12
  244. -- style flags: 0
  245. -- line height: 16
  246. -- part name: New Button
  247. ----- HyperTalk script -----
  248. on mouseUp
  249.   go to previous card in stack
  250.  
  251. end mouseUp
  252.  
  253.  
  254.  
  255. -- part 14 (button)
  256. -- low flags: 00
  257. -- high flags: 0000
  258. -- rect: left=458 top=294 right=326 bottom=505
  259. -- title width / last selected line: 0
  260. -- icon id / first selected line: 1013 / 1013
  261. -- text alignment: 1
  262. -- font id: 0
  263. -- text size: 12
  264. -- style flags: 0
  265. -- line height: 16
  266. -- part name: New Button
  267. ----- HyperTalk script -----
  268. on mouseUp
  269.   visual effect wipe left
  270.   go to next card in stack
  271. end mouseUp
  272.  
  273.  
  274.  
  275. -- part 15 (button)
  276. -- low flags: 00
  277. -- high flags: 0000
  278. -- rect: left=9 top=294 right=340 bottom=61
  279. -- title width / last selected line: 0
  280. -- icon id / first selected line: 20098 / 20098
  281. -- text alignment: 1
  282. -- font id: 0
  283. -- text size: 12
  284. -- style flags: 0
  285. -- line height: 16
  286. -- part name: New Button
  287. ----- HyperTalk script -----
  288. on mouseUp
  289.   go home
  290. end mouseUp
  291.  
  292.  
  293.  
  294. -- part 17 (field)
  295. -- low flags: 00
  296. -- high flags: 0000
  297. -- rect: left=481 top=58 right=76 bottom=504
  298. -- title width / last selected line: 0
  299. -- icon id / first selected line: 0 / 0
  300. -- text alignment: 0
  301. -- font id: 3
  302. -- text size: 12
  303. -- style flags: 0
  304. -- line height: 16
  305. -- part name: number
  306.  
  307.  
  308. -- part 18 (field)
  309. -- low flags: 80
  310. -- high flags: 0000
  311. -- rect: left=333 top=131 right=209 bottom=491
  312. -- title width / last selected line: 0
  313. -- icon id / first selected line: 0 / 0
  314. -- text alignment: 1
  315. -- font id: 2
  316. -- text size: 24
  317. -- style flags: 4096
  318. -- line height: 32
  319. -- part name: correct
  320.  
  321.  
  322. -- part 19 (field)
  323. -- low flags: 00
  324. -- high flags: 0000
  325. -- rect: left=480 top=39 right=57 bottom=506
  326. -- title width / last selected line: 0
  327. -- icon id / first selected line: 0 / 0
  328. -- text alignment: 0
  329. -- font id: 3
  330. -- text size: 12
  331. -- style flags: 0
  332. -- line height: 16
  333. -- part name: try
  334.  
  335.  
  336. -- part 20 (button)
  337. -- low flags: 00
  338. -- high flags: 8004
  339. -- rect: left=412 top=7 right=32 bottom=507
  340. -- title width / last selected line: 0
  341. -- icon id / first selected line: 0 / 0
  342. -- text alignment: 1
  343. -- font id: 0
  344. -- text size: 12
  345. -- style flags: 0
  346. -- line height: 16
  347. -- part name: Reset Count
  348. ----- HyperTalk script -----
  349. on mouseUp
  350.   global number
  351.   global tries
  352.   put zero into tries
  353.   put zero into number
  354.   put tries into background field "try"
  355.   put number into background field "number"
  356. end mouseUp
  357.  
  358.